package com.yingyi.user.service;
import com.yingyi.basic.exception.BusinessException;
import com.yingyi.basic.service.IBaseService;
import com.yingyi.user.domain.User;
import com.yingyi.user.dto.PhoneRegisterDto;

/**
 * (t_user)表服务层接口
 *
 * @author Yingyi
 * @since 2022-07-26 17:16:27
 */
public interface IUserService extends IBaseService<User> {


    void registerByPhone(PhoneRegisterDto dto) throws BusinessException;

    void logout(String token);
    
}
